package tpju;


import org.junit.Test;

import junit.framework.TestCase;

/**
* The test class TestMagasin.
*
* @author  (your name)
* @version (a version number or a date)
*/
public class TestMagasin extends TestCase
{
   @Test
   public void testSampleMethod()
   {
       Magasin magasin1 = new Magasin("informatique", "paris");
       magasin1.sampleMethod();
       assertEquals(magasin1.getNom(),"INFORMATIQUE");
       assertEquals(magasin1.getVille(),"PARIS");
       magasin1.sampleMethod();
       assertEquals(magasin1.getNom(),"informatique");
       assertEquals(magasin1.getVille(),"paris");
   }
}